<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/import.jsp"%>
 <ol class="breadcrumb">
		  <li><a href="<%=request.getContextPath()%>/CompanyServlet?command=main">主页</a></li>
		  <li class="active">修改职位</li>
	</ol>
		<center><h1>修改职位</h1></center>
		<hr>
		<form action="<%=request.getContextPath() %>/PositionServlet?command=update&id=${position.id}" method="post">
		  <div class="form-group">
		    <label for="companyName">企业名称</label>
		    <input type="text" class="form-control" id="companyName" value="${position.company$name }" disabled="disabled" data-rule="required">
		  </div>
		  <div class="form-group">
		    <label for="name">职位名称</label>
		    <input type="text" class="form-control" id="name" name="name" value="${position.name }" placeholder="职位名称" data-rule="required">
		  </div>
		  <div class="form-group">
		    <label for="salary1">薪资范围</label>
		    <input type="text" class="form-control" id="salary1" name="salary1" value="${position.salary1 }" placeholder="起" data-rule="required">
		    -
		    <input type="text" class="form-control" id="salary2" name="salary2" value="${position.salary2 }" placeholder="止" data-rule="required">
		  </div>
		  <div class="form-group">
		    <label for="duty">岗位职责</label>
		    <textarea class="form-control" rows="5" id="duty" name="duty" placeholder="岗位职责" data-rule="required">${position.duty }</textarea>
		  </div>
		  <div class="form-group">
		    <label for="ability">任职资格</label>
		    <textarea class="form-control" rows="5" id="ability" name="ability" placeholder="任职资格" data-rule="required">${position.ability }</textarea>
		  </div>
		  <button type="submit" class="btn btn-primary">修改</button>
		</form>
